home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 16 / AMIGAplus Sonderheft 16 (1998)(ICP)(DE)[!].iso / pd / anwendungen / rtgmaster_dev / includes / asm / rtgmaster / rtgc2p.i < prev    next >
Text File  |  1998-01-15  |  2KB  |  98 lines

  1. ;
  2. ;     $VER: rtgsublibs.i 1.007 (15 Jan 1998)
  3.  
  4.         include "exec/types.i"
  5.  
  6.  
  7.     STRUCTURE c2p_Info,0
  8.      WORD    CI_ColorDepth           ;CI_256, CI_128, CI_64, CI_EHB, CI_32..
  9.      WORD    CI_CPU                  ;CI_68060, CI_68040, CI_68030....
  10.      WORD    CI_Needs                ;CI_Aikiko, CI_MMU, CI_FPU...
  11.      BYTE    CI_Dirty                ;TRUE/FALSE
  12.      BYTE    CI_Hack                 ;TRUE/FALSE
  13.      ULONG   CI_PixelSize            ;c2p_1x1...
  14.      WORD    CI_WidthAlign           ;Width has to be divisible by <number>
  15.      WORD    CI_HeightAlign          ;Height has to be divisible by <number>
  16.      WORD    CI_Misc                 ;Different stuff...
  17.      ULONG   CI_AmiCompatible        ;Is this compatible to RtgScreenAMI ?
  18.      APTR    CI_Description          ;Pointer to a string
  19.      APTR    CI_Initialization       ;Pointer to Initialization code
  20.      APTR    CI_Expunge              ;Pointer to Expunge code
  21.      APTR    CI_Normal_c2p           ;Pointer to c2p code
  22.      APTR    CI_Normal_c2p_InterL    ;Pointer to Interleaved c2p
  23.      APTR    CI_Scrambled_c2p        ;Pointer to Scrambled c2p
  24.      APTR    CI_Scrambled_c2p_InterL ;Pointer to Scrambled Interleaved c2p
  25.      BYTE    CI_Asynchrone           ;TRUE/FALSE
  26.      LABEL   CI_SIZEOF
  27.  
  28. ; CI_ColorDepth
  29.  
  30. CI_256 EQU 256
  31. CI_128 EQU 128
  32. CI_64  EQU 64
  33. CI_EHB EQU 32
  34. CI_32  EQU 16
  35. CI_16  EQU 8
  36. CI_8   EQU 4
  37. CI_4   EQU 2
  38. CI_2   EQU 1
  39.  
  40. ; CI_CPU
  41.  
  42. CI_68060 EQU 1
  43. CI_68040 EQU 2
  44. CI_68030 EQU 4
  45. CI_68020 EQU 8
  46. CI_68060D EQU 16
  47. CI_68040D EQU 32
  48. CI_68030D EQU 64
  49. CI_68020D EQU 128
  50.  
  51. ; CI_Needs
  52.  
  53. CI_68060N EQU 1
  54. CI_68040N EQU 2
  55. CI_68030N EQU 4
  56. CI_Aikiko EQU 8
  57. CI_MMU    EQU 16
  58. CI_FPU    EQU 32
  59. CI_FAST   EQU 64
  60. CI_2MB    EQU 128
  61.  
  62. ; CI_Misc
  63.  
  64. CI_Smaller EQU 1
  65. CI_Fixed   EQU 2
  66. CI_Destruct EQU 4
  67.  
  68. c2p_1x1 EQU 1
  69. c2p_1x2 EQU 2
  70. c2p_2x1 EQU 4
  71. c2p_2x2 EQU 8
  72. c2p_4x2 EQU 16
  73. c2p_2x4 EQU 32
  74. c2p_4x4 EQU 64
  75. c2p_Best EQU 128
  76. c2p_Fastest EQU 256
  77. c2p_Selected EQU 512
  78. c2p_1x1D EQU 1024
  79. c2p_1x2D EQU 2048
  80. c2p_2x1D EQU 4096
  81. c2p_2x2D EQU 8192
  82. c2p_4x2D EQU 16384
  83. c2p_2x4D EQU 32768
  84. c2p_4x4D EQU 65536
  85. c2p_BestD EQU 131072
  86. c2p_FastestD EQU 262144
  87. c2p_SelectedD EQU 524288
  88.  
  89. c2p_err_Wrong_C2P EQU 1
  90. c2p_err_Wrong_Depth EQU 2
  91. c2p_warn_Wrong_Pixelmode EQU 3
  92. c2p_err_Wrong_Windowsize EQU 4
  93. c2p_warn_divisible EQU 5
  94. c2p_err_hardware EQU 6
  95. c2p_err_memory EQU 7
  96. c2p_err_internal EQU 8
  97. c2p_warn_internal EQU 9
  98.